Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OneElement supports Integer size #395

Merged
merged 1 commit into from
Nov 10, 2024

Conversation

putianyi889
Copy link
Contributor

Before:

julia> using InfiniteArrays, Infinities

julia> OneElement(1,1,ℵ₀)
ERROR: MethodError: no method matching OneElement(::Int64, ::Int64, ::InfiniteCardinal{0})

After:

julia> OneElement(1,1,ℵ₀)
ℵ₀-element OneElement{Int64, 1, Tuple{Int64}, Tuple{InfiniteArrays.OneToInf{Int64}}} with indices OneToInf():
 1
 
 
 
 
 
 
 
 
 

The support for symbol may be implemented in InfiniteArrays.

Copy link

codecov bot commented Nov 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.48%. Comparing base (6f61dc3) to head (6b11118).
Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #395      +/-   ##
==========================================
- Coverage   99.91%   99.48%   -0.44%     
==========================================
  Files           8        8              
  Lines        1147     1154       +7     
==========================================
+ Hits         1146     1148       +2     
- Misses          1        6       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dlfivefifty dlfivefifty merged commit 10816ca into JuliaArrays:master Nov 10, 2024
24 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants